Package com.cisco.pt.ipc.ui.impl
Class SimulationToolbarImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.ui.impl.SimulationToolbarImpl
- All Implemented Interfaces:
IPCObject,SimulationToolbar
Information provided by the PKI file:
\class SimulationToolbar
\brief SimulationToolbar allows UI for manipulation of the Simulation toolbar.
\example appWindow().getSimulationToolbar()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionSimulationToolbarImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanInformation provided by the PKI file:voidInformation provided by the PKI file:voidsetDisabled(boolean bDisabled) Information provided by the PKI file:voidsetEventListToggle(boolean bEnable) Information provided by the PKI file:voidsetVisible(boolean bVisible) Information provided by the PKI file:voidsetWidgetDisable(String widgetName, boolean bDisabled) Information provided by the PKI file:voidsetWidgetVisible(String widgetName, boolean bVisible) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
SimulationToolbarImpl
public SimulationToolbarImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setVisible
public void setVisible(boolean bVisible) Information provided by the PKI file:
\brief Shows or hides this widget from view. \param bVisible, true to show this widget, false to hide it.- Specified by:
setVisiblein interfaceSimulationToolbar- Parameters:
bVisible- Takes in a parameter of bVisible
-
setWidgetVisible
Information provided by the PKI file:
\brief Shows or hides the specified child widget. \param widgetName, where widgetName can be one of the following: ResetNetworkBtn, BackBtn, PlayBtn, ForwardBtn, EventListBtn. \param bVisible, true to show this child widget, false to hide it.- Specified by:
setWidgetVisiblein interfaceSimulationToolbar- Parameters:
widgetName- Takes in a parameter of widgetNamebVisible- Takes in a parameter of bVisible
-
setDisabled
public void setDisabled(boolean bDisabled) Information provided by the PKI file:
\brief Enables or disables input events to this widget. \param bDisabled, true to disable input events to this widget, false to enable input events.- Specified by:
setDisabledin interfaceSimulationToolbar- Parameters:
bDisabled- Takes in a parameter of bDisabled
-
setWidgetDisable
Information provided by the PKI file:
\brief Enables or disables the specified child widget. \param widgetName, where widgetName can be one of the following: ResetNetworkBtn, BackBtn, PlayBtn, ForwardBtn, EventListBtn. \param bDisabled, true to disable input events to this child widget, false to enable input events.- Specified by:
setWidgetDisablein interfaceSimulationToolbar- Parameters:
widgetName- Takes in a parameter of widgetNamebDisabled- Takes in a parameter of bDisabled
-
isEventListOn
public boolean isEventListOn()Information provided by the PKI file:
\brief Returns true if the Simulation Panel is shown, otherwise false. \return bool, true if the Simulation Panel is shown, otherwise false.- Specified by:
isEventListOnin interfaceSimulationToolbar- Returns:
- boolean Returns a boolean
-
setEventListToggle
public void setEventListToggle(boolean bEnable) Information provided by the PKI file:
\brief Shows or hides the Simulation Panel. \param bEnable, true to show the Simulation Panel, false to hide it.- Specified by:
setEventListTogglein interfaceSimulationToolbar- Parameters:
bEnable- Takes in a parameter of bEnable
-
resetNetwork
public void resetNetwork()Information provided by the PKI file:
\brief Simulations clicking on the Power Cycle Devices button on the Simulation toolbar.- Specified by:
resetNetworkin interfaceSimulationToolbar
-